# Analysis of Stylesheet Execution Time

Total time: 633.895 milliseconds

## Time spent in each template or function:

The table below is ordered by the total net time spent in the template or function. Gross time means the time including called templates and functions; net time means time excluding time spent in called templates and functions.

file | line | instruction | count | average time (gross) | total time (gross) | average time (net) | total time (net)
--- | --- | --- | --- | --- | --- | --- | ---
"*-generator.xsl" | 268 | template anchor | 2578 | 0.095 | 244.657 | 0.095 | 244.657
"*-generator.xsl" | 249 | template *[@id] | 2405 | 0.925 | 2223.562 | 0.057 | 138.104
"*-functions.xsl" | 21 | function ia-func:getTopicType | 35 | 2.548 | 89.178 | 2.548 | 89.178
"*-functions.xsl" | 919 | function ia-func:getTopicrefs | 35 | 1.154 | 40.401 | 1.154 | 40.401
"*-functions.xsl" | 673 | function ia-func:getParameter | 5 | 7.275 | 36.373 | 4.458 | 22.288
"*-generator.xsl" | 276 | template title | 138 | 0.123 | 16.987 | 0.123 | 16.987
"*-generator.xsl" | 376 | template insertBlurbAndDescriptionToBS | 35 | 0.310 | 10.854 | 0.285 | 9.979
"*-generator.xsl" | 83 | template processMapConceptTopic | 35 | 47.663 | 1668.199 | 0.257 | 9.003
"*-generator.xsl" | 259 | template *[contains(@class, ' topic/title ')][@id or parent::*[@id]] | *[contains(@class, ' adsk-definitionlist-d/dl-term ')][@id or parent::*[@id]] | *[contains(@class, ' adsk-d/listintro ')][@id or parent::*[@id]] | 138 | 0.233 | 32.182 | 0.039 | 5.437
"*-functions.xsl" | 184 | function ia-func:correct-file-url | 2 | 7.232 | 14.464 | 2.335 | 4.669
"*-generator.xsl" | 244 | template * | 207 | 0.181 | 37.416 | 0.022 | 4.538
"*-functions.xsl" | 909 | function ia-func:getMapTopicref | 35 | 1.265 | 44.285 | 0.106 | 3.724
"*-functions.xsl" | 330 | function ia-func:cutParentDirRelativeCommands | 2 | 1.728 | 3.455 | 1.728 | 3.455
"*-generator.xsl" | 178 | template checkForTocEntries | 35 | 0.089 | 3.124 | 0.089 | 3.124
"*-functions.xsl" | 296 | function ia-func:preserveTrailingParentDirRelativeCommands | 2 | 3.876 | 7.751 | 1.427 | 2.854
"*-generator.xsl" | 193 | template *[contains(@class, ' topic/topic ')] | 35 | 47.742 | 1670.986 | 0.080 | 2.787
"*-generator.xsl" | 113 | template createDefaultBSTopicAttributes | 35 | 0.076 | 2.672 | 0.076 | 2.672
"*-generator.xsl" | 210 | template processBSTopicAttributes | 35 | 1.340 | 46.904 | 0.070 | 2.466
"*-generator.xsl" | 34 | template / | 1 | 578.914 | 578.914 | 2.131 | 2.131
"*-functions.xsl" | 316 | function ia-func:cutCurrentDirRelativeCommands | 2 | 0.709 | 1.418 | 0.709 | 1.418
"*-generator.xsl" | 128 | template createDefaultBSTopicElements | 35 | 0.499 | 17.451 | 0.039 | 1.382
"*-functions.xsl" | 345 | function ia-func:removeRelativeCommands | 2 | 4.505 | 9.010 | 0.626 | 1.252
"*-functions.xsl" | 459 | function ia-func:stripSpace | 35 | 0.020 | 0.699 | 0.020 | 0.699
"*-functions.xsl" | 669 | function ia-func:getParameter | 5 | 7.395 | 36.977 | 0.121 | 0.604
"*-functions.xsl" | 231 | function ia-func:remove-slash-duplicates | 2 | 0.282 | 0.563 | 0.259 | 0.517
"*-generator.xsl" | 357 | template insertDescriptionToBS | 35 | 0.324 | 11.346 | 0.014 | 0.492
"*-generator.xsl" | 163 | template checkIfWithoutTabs | 35 | 0.008 | 0.290 | 0.008 | 0.290
"*-generator.xsl" | 286 | template *[contains(@class, ' topic/indexterm ')] | 3 | 0.065 | 0.194 | 0.065 | 0.194
"*-functions.xsl" | 17 | function ia-func:getTopicType | 35 | 2.553 | 89.359 | 0.005 | 0.180
"*-functions.xsl" | 456 | function ia-func:stripSpace | 35 | 0.025 | 0.875 | 0.005 | 0.176
"*-functions.xsl" | 915 | function ia-func:getTopicrefs | 35 | 1.159 | 40.561 | 0.005 | 0.160
"*-functions.xsl" | 906 | function ia-func:getMapTopicref | 35 | 1.270 | 44.437 | 0.004 | 0.152
"*-functions.xsl" | 157 | function ia-func:is-relative-path | 2 | 0.074 | 0.149 | 0.074 | 0.149
"*-functions.xsl" | 289 | function ia-func:collapse-slashes | 2 | 0.018 | 0.036 | 0.018 | 0.036
"*-functions.xsl" | 150 | function ia-func:is-relative-path | 2 | 0.091 | 0.181 | 0.016 | 0.033
"*-functions.xsl" | 164 | function ia-func:correct-file-url | 2 | 7.253 | 14.506 | 0.016 | 0.031
"*-functions.xsl" | 228 | function ia-func:remove-slash-duplicates | 2 | 0.294 | 0.588 | 0.012 | 0.025
"*-functions.xsl" | 339 | function ia-func:removeRelativeCommands | 2 | 4.513 | 9.026 | 0.008 | 0.015
"*-functions.xsl" | 313 | function ia-func:cutCurrentDirRelativeCommands | 2 | 0.716 | 1.431 | 0.007 | 0.014
"*-functions.xsl" | 322 | function ia-func:cutParentDirRelativeCommands | 2 | 1.733 | 3.467 | 0.006 | 0.011
"*-functions.xsl" | 180 | function ia-func:correct-file-url | 2 | 7.237 | 14.475 | 0.005 | 0.010
"*-functions.xsl" | 284 | function ia-func:collapse-slashes | 2 | 0.023 | 0.046 | 0.005 | 0.010
"*-functions.xsl" | 161 | function ia-func:correct-file-url | 2 | 7.257 | 14.514 | 0.004 | 0.009
"*-functions.xsl" | 293 | function ia-func:preserveTrailingParentDirRelativeCommands | 2 | 3.879 | 7.759 | 0.004 | 0.007